Tracking time spent on mobile device